<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8">
	<title>评论-软协轻博客</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="/res/layui/css/layui.css">
	<link rel="stylesheet" href="/res/static/css/mian.css">
</head>
<body class="lay-blog">
		<div th:insert="~{html/head.html :: head}"></div>

		<div class="container-wrap">
			<div class="container container-message container-details container-comment">
				<div class="contar-wrap">
					<div th:insert="~{html/details.html :: main}"></div>
					<form class="layui-form" th:action="@{'/writeDetails/' + ${writeDetails.getWid()}}" action="">
						<div class="layui-form-item layui-form-text">
							<textarea name="text" class="layui-textarea"  style="resize:none" placeholder="写点什么啊"></textarea>
						</div>
						<div class="btnbox" >
							<button type="submit" style="background: #1e9fff; border:none; width: 70px; height: 40px; border-radius: 4px; font-size: 16px; color: #eee;">确定</button>
						</div>
					</form>
				</div>
			</div>
		</div>


		<div th:insert="~{html/foot.html :: foot}"></div>

		<script src="/res/layui/layui.js">

	</script>
	<script>
		layui.config({
		  base: '/res/static/js/'
		}).use('blog');
	</script>
	<script id="LAY-msg-tpl" type="text/html">
		<div class="info-box">
			<div class="info-item">
				<img class="info-img" src="{{ d.avatar }}" alt="">
			  <div class="info-text">
					<p class="title">
					  <span class="name">{{ d.username }}</span>
					  <span class="info-img">
					  	<i class="layui-icon layui-icon-praise"></i>
					  	{{ d.praise }}
					 	</span>
					</p>
					<p class="info-intr">
						{{ d.content }}
					</p>
			  </div>
			</div>
		</div>
	</script>
</body>
</html>